<style>
    .box-footer{
        display: none;
    }
    .color-red{
        color: red;
    }
    .font-line{
        word-wrap:break-word;
        word-break:break-all;
    }
    .font2-line{
        text-align: center;font-weight:800;font-size: 18px
    }
</style>
<?php

use Encore\Admin\Widgets\Form;

$form = new Form();

$form->action('example');
$form->radio('type', '类别')->options(['1' => '列表页', '2' => '详情页'])->default(1);
$form->url('url', '爬取地址')->attribute(['id' => 'get-url'])->default("http://search.kongfz.com/product_result/?status=1&shopname=&pagenum=1&ajaxdata=1&type=1&_=1574757564572")->help("status=出售状态&shopname=店铺名&pagenum=页码&price=100.00h200.00&ajaxdata=1&type=1&_=1574757564572");

echo $form->render();
?>
<div class="box-footer" style="display: block;padding-right: 20%;">
    <button type="button" class="btn btn-primary pull-right" id="get-button">抓取</button>
</div>

<div class="modal fade" id="good-Modal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">数据获取中</h4>
            </div>
            <div class="modal-body" id="modal-body">
            </div>
        </div>
    </div>
</div>



